<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>加油站</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/all_css.css" />
		<link rel="stylesheet" type="text/css" href="css/weui/base.css" />
		<link rel="stylesheet" type="text/css" href="lib/weui.css" />
		<link rel="stylesheet" type="text/css" href="css/weui/jquery-weui.css" />
		<link rel="stylesheet" type="text/css" href="iconfont/iconfont.css" />
		<style type="text/css">
			#gas_main {
				max-width: 640px;
				min-width: 320px;
				margin: 0px auto;
				/*padding-bottom: 55px;*/
			}
			
			.app_head_left {
				float: left;
				width: 11%;
				padding-left: 6px;
				padding-top: 6px;
			}
			
			.app_head_left a {
				color: #FFFFFF;
				font-size: 1.5em;
				font-weight: bold;
			}
			
			.app_head_mid {
				float: left;
				width: 80%;
				padding-top: 5px;
			}
			
			#app_head_title {
				text-align: center;
				color: #FFFFFF;
				font-size: 1.6em;
				font-family: "宋体";
				font-weight: bold;
			}
			#allmap {
				margin-top: 70px;
				width: 100%;
			}
		</style>
		<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=MMh4H9m5FLBpizlht86GnGynuaM0oGKz"></script>
	</head>

	<body ontouchstart>
		<div id="gas_main">
			<div class="index_head" id="firTitle">
				<div class="app_head_left">
					<a href="javascript:history.go(-1)" class="iconfont">&#xe6d4;</a>
				</div>
				<div class="app_head_mid">
					<p id="app_head_title">附近加油站</p>
				</div>
			</div>
			<div id="allmap"></div>
		</div>

		<script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {
				var h = document.documentElement.clientHeight - 55;
				$("#allmap").height(h);
			});
			// 百度地图API功能
			var map = new BMap.Map("allmap");
			map.centerAndZoom("吉林省长春市",16);
			var local = new BMap.LocalSearch(map, {
				renderOptions: {
					map: map
				}
			});
			local.search("加油站");
		</script>
	</body>

</html>